package com.laoye.util;

public class ThreadLocal {

    private ThreadLocal() {
    }

    public static java.lang.ThreadLocal<Integer> threadLocal = new java.lang.ThreadLocal<>();

    public static void setCurrentId(Integer id) {
        threadLocal.set(id);
    }

    public static Integer getCurrentId() {
        return threadLocal.get();
    }

    public static void removeCurrentId() {
        threadLocal.remove();
    }


}
